package cn.idongjia.logloader.mongo;

public enum LogLevel {

    DEBUG("debug", 0), INFO("info", 1), WARN("warn", 2), ERROR("error", 3);

    private String level;

    private int levelId;

    LogLevel(String level, int levelId) {
        this.level = level;
        this.levelId = levelId;
    }


    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public int getLevelId() {
        return levelId;
    }

    public void setLevelId(int levelId) {
        this.levelId = levelId;
    }
}

